package main

import (
	"bootstrap/global/log"
	_ "bootstrap/log-logrus/logrus"
	"fmt"

	"github.com/sirupsen/logrus"
)

func main() {
	err := log.InitGlobalLogger("logrus")
	if err != nil {
		fmt.Println(err)
		return
	}
	log.Debug("this is a debug message ", 123, true, 22.33)
	log.Info("this is a info message ", 123, true, 22.33)
	log.Warn("this is a warn message ", 123, true, 22.33)
	log.Error("this is a error message ", 123, true, 22.33)
	logrus.Info("--------------------------")
	logrus.Debug("this is a debug message ", 123, true, 22.33)
	logrus.Info("this is a info message ", 123, true, 22.33)
	logrus.Warn("this is a warn message ", 123, true, 22.33)
	logrus.Error("this is a error message ", 123, true, 22.33)
}
